{
  BASSWV 2.4 Delphi unit
  Copyright (c) 2007-2012 Un4seen Developments Ltd.

  See the BASSWV.CHM file for more detailed documentation
}

unit BassWV;

interface

{$IFDEF MSWINDOWS}

uses BASS, Windows;
{$ELSE}

uses BASS;
{$ENDIF}

const
  // BASS_CHANNELINFO type
  BASS_CTYPE_STREAM_WV = $10500;

const
{$IFDEF MSWINDOWS}
  basswvdll = 'basswv.dll';
{$ENDIF}
{$IFDEF LINUX}
  basswvdll = 'libbasswv.so';
{$ENDIF}
{$IFDEF MACOS}
  basswvdll = 'libbasswv.dylib';
{$ENDIF}
function BASS_WV_StreamCreateFile(mem: BOOL; fl: pointer; offset, length: QWORD; flags: DWORD): HSTREAM; {$IFDEF MSWINDOWS}stdcall{$ELSE}cdecl{$ENDIF};
external basswvdll;
function BASS_WV_StreamCreateURL(url: PAnsiChar; offset: DWORD; flags: DWORD; proc: DOWNLOADPROC; user: pointer): HSTREAM; {$IFDEF MSWINDOWS}stdcall{$ELSE}cdecl{$ENDIF};
external basswvdll;
function BASS_WV_StreamCreateFileUser(system, flags: DWORD; var procs: BASS_FILEPROCS; user: pointer): HSTREAM; {$IFDEF MSWINDOWS}stdcall{$ELSE}cdecl{$ENDIF};
external basswvdll;

implementation

end.
